package com.quizzer.system.dto.question.category;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;

/**
 * 分类查询 DTO
 * 用于查询小类别信息
 *
 * @author rong
 * @date 2025/10/7 18:17
 */
@Data
@ApiModel(description = "分类查询 DTO")
public class CategoryQueryDto implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "小类别ID", example = "1")
    private Long id;

    @ApiModelProperty(value = "所属大类别ID", example = "100")
    private Long subjectId;

    @ApiModelProperty(value = "小类别名称，例如集合、IO", example = "集合")
    private String name;

    @ApiModelProperty(value = "排序字段，数值越小越靠前", example = "1")
    private Integer sort;

}
